package org.lanqiao.entity;

public class WapPayResponse {

    /**
     * msg : Success
     * code : 10000
     * out_trade_no : 70501111111S001111119
     * total_amount : 9
     * sub_msg : 系统繁忙
     * sub_code : isp.unknow-error
     * trade_no : 2014112400001000340011111118
     * seller_id : 2088111111116894
     * merchant_order_no : 20161008001
     * sign : ERITJKEIJKJHKKKKKKKHJEREEEEEEEEEEE
     */
    private String msg;
    private String code;
    /**
     * 商户网站唯一订单号
     */
    private String out_trade_no;
    /**
     * 该笔订单的资金总额，单位为RMB-Yuan。取值范围为[0.01，100000000.00]，精确到小数点后两位。
     */
    private String total_amount;
    private String sub_msg;
    private String sub_code;
    /**
     * 该交易在支付宝系统中的交易流水号。最长64位。
     */
    private String trade_no;
    /**
     * 收款支付宝账号对应的支付宝唯一用户号。
     * 以2088开头的纯16位数字
     */
    private String seller_id;
    /**
     * 	商户原始订单号，最大长度限制32位
     */
    private String merchant_order_no;
    private String sign;

    public WapPayResponse() {
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public void setSub_msg(String sub_msg) {
        this.sub_msg = sub_msg;
    }

    public void setSub_code(String sub_code) {
        this.sub_code = sub_code;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    public void setSeller_id(String seller_id) {
        this.seller_id = seller_id;
    }

    public void setMerchant_order_no(String merchant_order_no) {
        this.merchant_order_no = merchant_order_no;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public String getSub_msg() {
        return sub_msg;
    }

    public String getSub_code() {
        return sub_code;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public String getSeller_id() {
        return seller_id;
    }

    public String getMerchant_order_no() {
        return merchant_order_no;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "WapPayResponse{" +
                "\nmsg='" + msg + '\'' +
                ",\n code='" + code + '\'' +
                ",\n out_trade_no='" + out_trade_no + '\'' +
                ",\n total_amount=" + total_amount +
                ",\n sub_msg='" + sub_msg + '\'' +
                ",\n sub_code='" + sub_code + '\'' +
                ",\n trade_no='" + trade_no + '\'' +
                ",\n seller_id='" + seller_id + '\'' +
                ",\n merchant_order_no='" + merchant_order_no + '\'' +
                ",\n sign='" + sign + '\'' +
                '}';
    }
}
